﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerJiage.aspx.cs" Inherits="WEALTH.Manager.Customer.CustomerJiage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link href="../css/admin.global.css" rel="stylesheet" type="text/css" />
    <link href="../css/admin.content.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../js/jquery.utils.js"></script>
    <link href="../jBox/Skins/Green/jbox.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../jBox/jquery.jBox-2.3.min.js"></script>
    <script type="text/javascript" src="../js/admin.js"></script>
    <script type="text/javascript" src="../js/gridview_setting.js"></script>
    <script type="text/javascript">

        // 设置标题
        Index.SetTitle('产品价格管理');

        // 清空所有检索条件
        function cleartext() {
            jQuery("#txtCPCode").val("");
            return true;
        }       
    </script>
</head>
<body>
    <div class="container">
        <form id="Form1" runat="server">
        <div class="location">
            当前位置：产品管理 -&gt; 产品价格管理</div>
        <div class="blank10">
        </div>
        <div class="search block">
            <div class="h">
                <span class="icon-sprite icon-magnifier"></span>
                <h3>
                    快速搜索</h3>
            </div>
            <div class="tl corner">
            </div>
            <div class="tr corner">
            </div>
            <div class="bl corner">
            </div>
            <div class="br corner">
            </div>
            <div class="cnt-wp">
                <div class="cnt">
                    <div class="search-bar" style="padding-left: -3px;">
                        <table width="100%">
                            <tr>
                                <td>
                                    <label class="first txt-green">
                                        产品代码：</label>
                                    <asp:TextBox ID="txtCPCode" runat="server" CssClass="input-small"></asp:TextBox>                                   
                                </td>
                                <td align="right">
                                    <span class="btn-ctl-span">
                                        <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" /></span>
                                    <span class="btn-ctl-span">
                                        <input type="button" id="btnClear" onclick="cleartext();" value="清空" /></span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="blank10">
        </div>
        <div class="block">
            <div class="h">
                <span class="icon-sprite icon-list"></span>
                <h3>
                    产品列表</h3>                 
            </div>
            <div class="tl corner">
            </div>
            <div class="tr corner">
            </div>
            <div class="bl corner">
            </div>
            <div class="br corner">
            </div>
            <div class="cnt-wp">
                <div class="cnt">
                    <asp:GridView ID="gvchanpinjiage" runat="server" CssClass="data-table" border="0"
                        CellPadding="0" Width="100%" EnableTheming="True" AllowSorting="True" AutoGenerateColumns="False"
                        OnRowDataBound="gvchanpinjiage_RowDataBound" AllowPaging="True" OnPageIndexChanging="gvchanpinjiage_PageIndexChanging"
                        OnSorting="gvchanpinjiage_Sorting" GridLines="None"                         
                        onrowediting="gvchanpinjiage_RowEditing" 
                        onrowcancelingedit="gvchanpinjiage_RowCancelingEdit" 
                        onrowupdating="gvchanpinjiage_RowUpdating" 
                        onselectedindexchanging="gvchanpinjiage_SelectedIndexChanging">
                        <Columns>
                           <asp:BoundField DataField="CUSCP_CPCODE" SortExpression="CUSCP_CPCODE" ItemStyle-Width="10%"
                                ItemStyle-CssClass="l" HeaderText="产品代码" ReadOnly="True">
<ItemStyle CssClass="l" Width="10%"></ItemStyle>
                            </asp:BoundField>
                            <asp:BoundField DataField="CUSCP_Qixiri" SortExpression="CUSCP_Qixiri" ItemStyle-Width="10%"
                                ItemStyle-CssClass="l" HeaderText="产品起息日" ReadOnly="True">
<ItemStyle CssClass="l" Width="10%"></ItemStyle>
                            </asp:BoundField>
                            <asp:BoundField DataField="CUSCP_Daoqiri" SortExpression="CUSCP_Daoqiri" ItemStyle-Width="10%"
                                ItemStyle-CssClass="l" HeaderText="产品到期日" ReadOnly="True">                         
<ItemStyle CssClass="l" Width="10%"></ItemStyle>
                            </asp:BoundField>
                            <asp:BoundField DataField="CUSCP_ZXJG" SortExpression="CUSCP_ZXJG" ItemStyle-Width="10%"
                                ItemStyle-CssClass="l" HeaderText="产品最新价格"  >
<ItemStyle CssClass="l" Width="10%"></ItemStyle>
                            </asp:BoundField>
                            <asp:CommandField ShowEditButton="True" ItemStyle-Width="5%" HeaderText="操作" >
                                           
<ItemStyle Width="5%"></ItemStyle>
                            </asp:CommandField>
                            <asp:CommandField SelectText="查看历史记录"  ItemStyle-Width="5%" ShowSelectButton="True" />
                                           
                        </Columns>
                    </asp:GridView>
                </div>
                <script type="text/javascript">
                var pagerUrl = 'Customer/chanpinjiageList.aspx?pageIndex={0}';
                Pager.Output(pagerUrl,<%=pageSize %>, <%=pageIndex %>, <%=pageCount %>, <%=recordCount %>); //(urlFormat, pageSize, pageIndex, pageCount, recordCount)
                </script>
            </div>
        </div>
        </form>
    </div>
</body>
</html>
